<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String filePath = basePath+"/view/rec";
%>
<!DOCTYPE html >
<html>
<head>
	<base href="<%=basePath%>">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta name="author" content="pixelcave">
	<meta name="robots" content="noindex, nofollow">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
	<title>图库</title>
	<style type="text/css">
		.log-user{padding-left: 10px !important;}
	</style>
</head>
<body>
        <!-- Header -->
         <header id="header-navbar" class="content-mini content-mini-full">
             <!-- Header Navigation Right -->
             <ul class="nav-header pull-right">
             
             	<c:if test="${sessionScope.user!=null }">
	                 <li>
	                     <div class="btn-group">
	                         <button class="btn btn-default btn-image dropdown-toggle log-user" data-toggle="dropdown" type="button">
	                             <%-- <img src="<%=filePath %>/lexyui/assets/img/avatars/avatar10.jpg" alt="Avatar"> --%>
	                                     <i class="si si-user ">  ${sessionScope.user.user_name }</i>
	                             <span class="caret"></span>
	                         </button>
	                         <ul class="dropdown-menu dropdown-menu-right">
	                             <li class="dropdown-header">Profile</li>
	                             <li>
	                                 <a tabindex="-1" href="userBlogGrid">
	                                     <i class="si si-book-open pull-right"></i>
	                                     <!-- <span class="badge badge-primary pull-right">3</span> -->我的博客
	                                 </a>
	                             </li>
	                             <li>
	                                 <a tabindex="-1" href="userGallery">
	                                     <i class="si si-picture pull-right"></i>
	                                     <!-- <span class="badge badge-primary pull-right">3</span> -->我的图库
	                                 </a>
	                             </li>
	                             <li>
	                                 <a tabindex="-1" href="base_pages_profile.html">
	                                     <i class="si si-user pull-right"></i>
	                                     <!-- <span class="badge badge-success pull-right">1</span> -->个人资料
	                                 </a>
	                             </li>
	                             <li>
	                                 <a tabindex="-1" href="javascript:void(0)">
	                                     <i class="si si-settings pull-right"></i>设置
	                                 </a>
	                             </li>
	                             <li class="divider"></li>
	                             <li class="dropdown-header">操作</li>
	                             <li>
	                                 <a tabindex="-1" href="base_pages_lock.html">
	                                     <i class="si si-lock pull-right"></i>账户锁定
	                                 </a>
	                             </li>
	                             <li>
	                                 <a tabindex="-1" href="base_pages_login.html">
	                                     <i class="si si-logout pull-right"></i>登出
	                                 </a>
	                             </li>
	                         </ul>
	                     </div>
	                 </li>
             	</c:if>
                 <li>
                     <!-- Layout API, functionality initialized in App() -> uiLayoutApi() -->
                     <button class="btn btn-default" data-toggle="layout" data-action="side_overlay_toggle" type="button">
                         <!-- <i class="fa fa-tasks"></i> -->
                         
                         <span>标签</span>
                     </button>
                 </li>
             </ul>
             <!-- END Header Navigation Right -->

             <!-- Header Navigation Left -->
             <ul class="nav-header pull-left">
                 <li class="hidden-md hidden-lg">
                     <!-- Layout API, functionality initialized in App() -> uiLayoutApi() -->
                     <button class="btn btn-default" data-toggle="layout" data-action="sidebar_toggle" type="button">
                         <i class="fa fa-navicon"></i>
                     </button>
                 </li>
                 <li class="hidden-xs hidden-sm">
                     <!-- Layout API, functionality initialized in App() -> uiLayoutApi() -->
                     <button class="btn btn-default" data-toggle="layout" data-action="sidebar_mini_toggle" type="button">
                         <i class="fa fa-tasks"></i>
                     </button>
                 </li>
                 <li>
                     <!-- Opens the Apps modal found at the bottom of the page, before including JS code -->
                     <button class="btn btn-default pull-right" data-toggle="modal" data-target="#apps-modal" type="button">
                         <i class="si si-grid"></i>
                     </button>
                 </li>
                 <li class="visible-xs">
                     <!-- Toggle class helper (for .js-header-search below), functionality initialized in App() -> uiToggleClass() -->
                     <button class="btn btn-default" data-toggle="class-toggle" data-target=".js-header-search" data-class="header-search-xs-visible" type="button">
                         <i class="fa fa-search"></i>
                     </button>
                 </li>
                 <li class="js-header-search header-search">
                     <form class="form-horizontal" action="base_pages_search.html" method="post">
                         <div class="form-material form-material-primary input-group remove-margin-t remove-margin-b">
                             <input class="form-control" type="text" id="base-material-text" name="base-material-text" placeholder="Search..">
                             <span class="input-group-addon"><i class="si si-magnifier"></i></span>
                         </div>
                     </form>
                 </li>
             </ul>
             <!-- END Header Navigation Left -->
         </header>
         <!-- END Header -->
        
</body>
</html>